#ifndef DISPLAYWINDOW_H
#define DISPLAYWINDOW_H

#include <QApplication>
#include <QMainWindow>
#include <QPushButton>
#include <QFormLayout>
#include <QLineEdit>
#include <QTextEdit>
#include <QLabel>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QDBusConnection>
#include <QDBusInterface>
#include <QDBusMessage>
#include <QDebug>
#include <QGSettings>


class DisplayWindow : public QMainWindow {
    Q_OBJECT

public:
    DisplayWindow(QWidget *parent = nullptr);
    ~DisplayWindow(){}
    void setupUI();

private:
    QTextEdit* output;
    QLabel* name;
    QLabel* age;
    QLabel* phone;
    QLabel* cid;
    QLabel* home;
    QLabel* tem;
    QLineEdit* nameInput;
    QLineEdit* ageInput;
    QLineEdit* phoneInput;
    QLineEdit* cidInput;
    QLineEdit* homeInput;
    QLineEdit* temInput;
    QGSettings* gsettings;
    void updateGSettings();
};

#endif // DISPLAYWINDOW_H
